package org.llc.flink.study.example


object List05 {
  def main(args: Array[String]): Unit = {
    val res1 = (0 to 100).map { _ => {
      Thread.currentThread().getName
    } }.distinct

    val res2 = (0 to 100).par.map { _ => Thread.currentThread().getName }.distinct

    println("res1 = " + res1)
    println("res2 = " + res2)
  }
}
